﻿using Domain.Production_Modules;
using MediatR;
using ReturnValue;

namespace MES.Server.API.Application.Command.Production_Modules
{
    public class AddMaterialOutCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 出入库编码
        /// </summary>
        public string OutInCode { get; set; }
        /// <summary>
        /// 出入库状态(1=出库,2=入库)
        /// </summary>
        public OutInEnum OutIn { get; set; }
        /// <summary>
        /// 出入库数量
        /// </summary>
        public long OutInCount { get; set; }
        /// <summary>
        /// 所属产品物料外键
        /// </summary>
        public long ProductMaterialsId { get; set; }
        /// <summary>
        /// 所属物料申请单外键
        /// </summary>
        public string MaterialAskCode { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreaterPeople { get; set; }
    }
}
